package com.lh.service;

import com.alibaba.fastjson.JSONObject;
import com.lh.entity.table.Task1Info;
import com.lh.entity.table.Task2Info;
import com.lh.entity.table.TaskInfo;
import com.lh.utils.Answer;

public interface TaskService {
    Answer<Object> addTask(TaskInfo taskInfo);

    Answer<Object> updateTask(TaskInfo taskInfo);

    Answer<Object> deleteTask(TaskInfo taskInfo);

    Answer<Object> selectTaskList(TaskInfo taskInfo);

    Answer<Object> addTask1(Task1Info task1Info);

    Answer<Object> updateTask1(Task1Info task1Info);

    Answer<Object> deleteTask1(Task1Info task1Info);

    Answer<Object> selectTask1List(Task1Info task1Info);

    Answer<Object> addTask2(Task2Info task2Info);

    Answer<Object> updateTask2(Task2Info task2Info);

    Answer<Object> deleteTask2(Task2Info task2Info);

    Answer<Object> selectTask2List(Task2Info task2Info);

    Answer<Object> queryTask2Progress(JSONObject reqJson);
}
